<?php
class Application_Model_Schema_ActionValue {
	protected $_resources;
	protected $_objects;

	public function __set($name, $value) {
		$method = 'set' . $name;
		if(!method_exists($this, $method)) {
			throw new Exception('Set Invalid ActionValues Property');
		}
		$this->$method($value);
	}

	public function __get($name) {
		$method = 'get' . $name;
		if(!method_exists($this, $method)) {
			throw new Exception('Get Invalid ActionValues Property');
		}
		return $this->$method();
	}

	public function setResources($resources) {
		$this->_resources = $resources;
		return $this;
	}

	public function getResources() {
		return $this->_resources;
	}

	public function setObjects($objects) {
		$this->_objects = $objects;
		return $this;
	}

	public function getObjects() {
		return $this->_objects;
	}	
}
?>